
import smsApi from "@/api/declaration/smsApi"
import httpRequest from "@/config/axios/httpRequest"
import { ExportSmsLogReq, QuerySmsLogPageReq, QuerySmsLogPageResp } from "@/models/system/SmsModel"



// 查询短信日志列表
export const getSmsLogPage = async (params: QuerySmsLogPageReq) => {
  return await httpRequest.get<QuerySmsLogPageResp>(smsApi.QuerySmsLogPage, { params })
}

// 导出短信日志
export const exportSmsLog = async (params:ExportSmsLogReq) => {
  return await httpRequest.download(smsApi.ExportSmsLog, { params, responseType: 'blob' })
}
